package entities;

import java.io.Serializable;
import java.util.Date;

import basic.BaseEntity;
import basic.FieldMeta;

public class TCurrency extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "编号", description = "货币编码,国际通用三位大写英文字符", column = "cur_no", require = true, range = true, length = 32, order = 0)
	private String curNo;

	public String getCurNo() {
		return curNo;
	}

	public void setCurNo(String curNo) {
		this.curNo = curNo;
	}

	@FieldMeta(name = "货币名称", description = "货币名称", column = "cur_name", require = true, length = 100, order = 1)
	private String curName;

	public String getCurName() {
		return curName;
	}

	public void setCurName(String curName) {
		this.curName = curName;
	}

	@FieldMeta(name = "汇率", description = "当前汇率(对人民币汇率)", column = "cur_rate", require = true, order = 2)
	private Double curRate;

	public Double getCurRate() {
		return curRate;
	}

	public void setCurRate(Double curRate) {
		this.curRate = curRate;
	}

	@FieldMeta(name = "是否可用", description = "是否可用", column = "cur_state", require = true, length = 1, order = 3)
	private String curState;

	public String getCurState() {
		return curState;
	}

	public void setCurState(String curState) {
		this.curState = curState;
	}

	@FieldMeta(name = "日期", description = "更新日期", column = "cur_date", require = true, range = true, order = 4)
	private Date curDate;

	public Date getCurDate() {
		return curDate;
	}

	public void setCurDate(Date curDate) {
		this.curDate = curDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "cur_remark", length = 100, order = 5)
	private String curRemark;

	public String getCurRemark() {
		return curRemark;
	}

	public void setCurRemark(String curRemark) {
		this.curRemark = curRemark;
	}

}